package cn.gift.exception;

/**
 * @description: ErrorCode
 * @date: 2023/4/25 16:56
 * @author: ZhaoLc
 * @version: 1.0
 */
public enum ErrorCode {
    /**
     *
     */
    CODE_200(200,"操作成功!"),
    CODE_400(400,"参数不正确!"),
    CODE_4001(4001,"店铺名称已存在!"),
    CODE_4002(4002,"两次密码输入不一致,请检查!"),
    CODE_4003(4003,"存在信息未填写!"),
    CODE_4004(4004,"管理员信息已存在,请登录后添加!"),
    CODE_500(500,"服务错误!");
    private Integer code;
    private String message;


    ErrorCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
